home *** CD-ROM | disk | FTP | other *** search
Unknown | 1990-09-09 | 13.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| xdgMime
| image/x-tga
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 00 0a 1a f4 20 3e 24 | 2e 21 57 61 72 66 61 72 |..... >$|.!Warfar|
|00000010| 69 6e 2e 57 61 72 66 53 | 72 63 0d 00 14 35 f4 20 |in.WarfS|rc...5. |
|00000020| 57 61 72 66 61 72 69 6e | 20 4d 6f 64 75 6c 65 20 |Warfarin| Module |
|00000030| 56 31 2e 31 30 20 28 43 | 29 20 52 69 63 68 61 72 |V1.10 (C|) Richar|
|00000040| 64 20 4b 2e 20 4c 6c 6f | 79 64 20 31 39 39 30 0d |d K. Llo|yd 1990.|
|00000050| 00 1e 04 0d 00 28 15 f4 | 20 52 65 63 6f 6d 6d 65 |.....(..| Recomme|
|00000060| 6e 64 65 64 20 43 44 3a | 0d 00 32 35 f4 20 44 69 |nded CD:|..25. Di|
|00000070| 72 65 20 53 74 72 61 69 | 74 73 20 22 44 69 72 65 |re Strai|ts "Dire|
|00000080| 20 53 74 72 61 69 74 73 | 22 20 28 74 68 65 69 72 | Straits|" (their|
|00000090| 20 66 69 72 73 74 20 61 | 6c 62 75 6d 29 0d 00 3c | first a|lbum)..<|
|000000a0| 27 f4 20 54 68 65 20 72 | 61 77 65 73 74 20 61 6e |'. The r|awest an|
|000000b0| 64 20 65 61 73 69 6c 79 | 20 74 68 65 20 62 65 73 |d easily| the bes|
|000000c0| 74 2e 2e 2e 0d 00 46 04 | 0d 00 50 3d f4 20 41 68 |t.....F.|..P=. Ah|
|000000d0| 65 6d 2c 20 62 75 74 20 | 74 68 65 20 6e 65 77 20 |em, but |the new |
|000000e0| 52 49 53 43 20 4f 53 20 | 50 52 4d 73 2c 20 56 6f |RISC OS |PRMs, Vo|
|000000f0| 6c 75 6d 65 20 49 20 50 | 61 67 65 20 31 32 32 20 |lume I P|age 122 |
|00000100| 68 61 73 20 61 0d 00 5a | 42 f4 20 6b 65 79 73 63 |has a..Z|B. keysc|
|00000110| 61 6e 20 74 61 62 6c 65 | 20 74 68 61 74 2c 20 49 |an table| that, I|
|00000120| 20 74 68 69 6e 6b 2c 20 | 68 61 73 20 69 74 73 20 | think, |has its |
|00000130| 68 69 67 68 20 61 6e 64 | 20 6c 6f 77 20 68 65 78 |high and| low hex|
|00000140| 20 64 69 67 69 74 73 0d | 00 64 3d f4 20 6c 61 62 | digits.|.d=. lab|
|00000150| 65 6c 6c 65 64 20 74 68 | 65 20 77 72 6f 6e 67 20 |elled th|e wrong |
|00000160| 77 61 79 20 72 6f 75 6e | 64 20 28 65 2e 67 2e 20 |way roun|d (e.g. |
|00000170| 5a 20 3d 20 26 34 45 20 | 61 6e 64 20 6e 6f 74 20 |Z = &4E |and not |
|00000180| 26 45 34 29 0d 00 6e 04 | 0d 00 78 45 f4 20 41 6e |&E4)..n.|..xE. An|
|00000190| 6f 74 68 65 72 20 65 72 | 72 6f 72 3a 20 50 61 67 |other er|ror: Pag|
|000001a0| 65 20 37 38 35 20 63 6c | 61 69 6d 73 20 74 68 61 |e 785 cl|aims tha|
|000001b0| 74 20 43 4d 4f 53 20 52 | 41 4d 20 6c 6f 63 61 74 |t CMOS R|AM locat|
|000001c0| 69 6f 6e 20 31 39 31 20 | 68 6f 6c 64 73 0d 00 82 |ion 191 |holds...|
|000001d0| 3d f4 20 74 68 65 20 27 | 6d 6f 75 73 65 20 6d 75 |=. the '|mouse mu|
|000001e0| 6c 74 69 70 6c 69 65 72 | 27 2e 20 49 74 20 64 6f |ltiplier|'. It do|
|000001f0| 65 73 6e 27 74 20 2d 20 | 6c 6f 63 61 74 69 6f 6e |esn't - |location|
|00000200| 20 31 39 34 20 64 6f 65 | 73 2e 0d 00 8c 04 0d 00 | 194 doe|s.......|
|00000210| 96 3b f4 20 59 65 74 20 | 61 6e 6f 74 68 65 72 20 |.;. Yet |another |
|00000220| 65 72 72 6f 72 3a 20 50 | 61 67 65 73 20 31 33 32 |error: P|ages 132|
|00000230| 20 61 6e 64 20 31 33 38 | 20 61 72 65 20 69 64 65 | and 138| are ide|
|00000240| 6e 74 69 63 61 6c 20 21 | 21 0d 00 a0 41 f4 20 50 |ntical !|!...A. P|
|00000250| 61 67 65 20 31 33 32 20 | 73 68 6f 75 6c 64 20 61 |age 132 |should a|
|00000260| 63 74 75 61 6c 6c 79 20 | 62 65 20 61 20 64 65 73 |ctually |be a des|
|00000270| 63 72 69 70 74 69 6f 6e | 20 6f 66 20 4f 53 5f 42 |cription| of OS_B|
|00000280| 79 74 65 20 31 34 35 2e | 2e 2e 0d 00 aa 04 0d 00 |yte 145.|........|
|00000290| b4 1e 6e 61 6d 65 24 3d | 22 57 61 72 66 61 72 69 |..name$=|"Warfari|
|000002a0| 6e 22 3a 76 24 3d 22 31 | 2e 31 30 22 0d 00 be 3b |n":v$="1|.10"...;|
|000002b0| 64 61 74 65 24 3d 22 31 | 30 20 53 65 70 20 31 39 |date$="1|0 Sep 19|
|000002c0| 39 30 22 3a f4 20 4d 49 | 44 24 28 54 49 4d 45 24 |90":. MI|D$(TIME$|
|000002d0| 2c 35 2c 31 31 29 20 66 | 6f 72 20 63 75 72 72 65 |,5,11) f|or curre|
|000002e0| 6e 74 20 64 61 74 65 0d | 00 c8 25 76 65 72 24 3d |nt date.|..%ver$=|
|000002f0| 6e 61 6d 65 24 2b bd 28 | 39 29 2b 76 24 2b 22 20 |name$+.(|9)+v$+" |
|00000300| 28 22 2b 64 61 74 65 24 | 2b 22 29 22 0d 00 d2 0c |("+date$|+")"....|
|00000310| 62 6c 24 3d bd 28 30 29 | 0d 00 dc 2a 53 56 43 5f |bl$=.(0)|...*SVC_|
|00000320| 4d 6f 64 65 3d 33 3a 45 | 76 65 6e 74 56 3d 31 36 |Mode=3:E|ventV=16|
|00000330| 3a 49 6e 73 56 3d 32 30 | 3a 4d 6f 75 73 65 56 3d |:InsV=20|:MouseV=|
|00000340| 32 36 0d 00 e6 49 6d 6f | 75 73 65 62 6f 6f 73 74 |26...Imo|useboost|
|00000350| 25 3d 34 3a f4 20 41 64 | 64 65 64 20 74 6f 20 2a |%=4:. Ad|ded to *|
|00000360| 43 6f 6e 66 2e 20 4d 6f | 75 73 65 53 74 65 70 20 |Conf. Mo|useStep |
|00000370| 76 61 6c 75 65 20 62 65 | 66 6f 72 65 20 6d 75 6c |value be|fore mul|
|00000380| 74 69 70 6c 69 63 61 74 | 69 6f 6e 0d 00 f0 18 de |tiplicat|ion.....|
|00000390| 20 6f 72 67 20 26 32 30 | 30 30 2c 73 77 69 25 20 | org &20|00,swi% |
|000003a0| 26 33 30 0d 00 fa 04 0d | 01 04 12 e3 20 41 25 3d |&30.....|.... A%=|
|000003b0| 30 20 b8 20 32 20 88 20 | 32 0d 01 0e 0a 50 25 3d |0 . 2 . |2....P%=|
|000003c0| 6f 72 67 0d 01 18 0b 5b | 4f 50 54 20 41 25 0d 01 |org....[|OPT A%..|
|000003d0| 22 4d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |"M | |
|000003e0| 20 20 45 51 55 44 20 20 | 20 20 30 20 20 20 20 20 | EQUD | 0 |
|000003f0| 20 20 20 20 20 20 20 20 | 20 20 3b 20 4e 6f 20 73 | | ; No s|
|00000400| 74 61 72 74 20 61 64 64 | 72 20 28 6e 6f 74 20 61 |tart add|r (not a|
|00000410| 70 70 6c 69 63 61 74 69 | 6f 6e 29 0d 01 2c 41 20 |pplicati|on)..,A |
|00000420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 45 | | E|
|00000430| 51 55 44 20 20 20 20 69 | 6e 69 74 2d 6f 72 67 20 |QUD i|nit-org |
|00000440| 20 20 20 20 20 20 20 3b | 20 49 6e 69 74 69 61 6c | ;| Initial|
|00000450| 69 73 61 74 69 6f 6e 20 | 61 64 64 72 0d 01 36 3f |isation |addr..6?|
|00000460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000470| 45 51 55 44 20 20 20 20 | 62 79 65 62 79 65 2d 6f |EQUD |byebye-o|
|00000480| 72 67 20 20 20 20 20 20 | 3b 20 46 69 6e 61 6c 69 |rg |; Finali|
|00000490| 73 61 74 69 6f 6e 20 61 | 64 64 72 0d 01 40 3f 20 |sation a|ddr..@? |
|000004a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 45 | | E|
|000004b0| 51 55 44 20 20 20 20 73 | 65 72 76 69 63 65 63 61 |QUD s|erviceca|
|000004c0| 6c 6c 2d 6f 72 67 20 3b | 20 53 65 72 76 69 63 65 |ll-org ;| Service|
|000004d0| 20 63 61 6c 6c 20 61 64 | 64 72 0d 01 4a 3f 20 20 | call ad|dr..J? |
|000004e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 45 51 | | EQ|
|000004f0| 55 44 20 20 20 20 74 69 | 74 6c 65 73 74 72 2d 6f |UD ti|tlestr-o|
|00000500| 72 67 20 20 20 20 3b 20 | 54 69 74 6c 65 20 73 74 |rg ; |Title st|
|00000510| 72 69 6e 67 20 61 64 64 | 72 0d 01 54 3d 20 20 20 |ring add|r..T= |
|00000520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 45 51 55 | | EQU|
|00000530| 44 20 20 20 20 68 65 6c | 70 73 74 72 2d 6f 72 67 |D hel|pstr-org|
|00000540| 20 20 20 20 20 3b 20 2a | c7 92 20 73 74 72 69 6e | ; *|.. strin|
|00000550| 67 20 61 64 64 72 0d 01 | 5e 4d 20 20 20 20 20 20 |g addr..|^M |
|00000560| 20 20 20 20 20 20 20 20 | 20 20 45 51 55 44 20 20 | | EQUD |
|00000570| 20 20 6b 65 79 77 6f 72 | 64 73 2d 6f 72 67 20 20 | keywor|ds-org |
|00000580| 20 20 3b 20 48 65 6c 70 | 2f 43 6f 6d 6d 61 6e 64 | ; Help|/Command|
|00000590| 20 6b 65 79 77 6f 72 64 | 20 74 61 62 6c 65 20 61 | keyword| table a|
|000005a0| 64 64 72 0d 01 68 48 20 | 20 20 20 20 20 20 20 20 |ddr..hH | |
|000005b0| 20 20 20 20 20 20 20 45 | 51 55 44 20 20 20 20 30 | E|QUD 0|
|000005c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|000005d0| 20 4e 6f 20 65 78 74 72 | 61 20 53 57 49 73 20 73 | No extr|a SWIs s|
|000005e0| 75 70 70 6f 72 74 65 64 | 2e 2e 2e 0d 01 72 1d 20 |upported|.....r. |
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 45 | | E|
|00000600| 51 55 44 20 20 20 20 30 | 0d 01 7c 1d 20 20 20 20 |QUD 0|..|. |
|00000610| 20 20 20 20 20 20 20 20 | 20 20 20 20 45 51 55 44 | | EQUD|
|00000620| 20 20 20 20 30 0d 01 86 | 1d 20 20 20 20 20 20 20 | 0...|. |
|00000630| 20 20 20 20 20 20 20 20 | 20 45 51 55 44 20 20 20 | | EQUD |
|00000640| 20 30 0d 01 90 25 2e 74 | 69 74 6c 65 73 74 72 20 | 0...%.t|itlestr |
|00000650| 20 20 20 20 20 20 45 51 | 55 53 20 20 20 20 6e 61 | EQ|US na|
|00000660| 6d 65 24 2b 62 6c 24 0d | 01 9a 19 20 20 20 20 20 |me$+bl$.|... |
|00000670| 20 20 20 20 20 20 20 20 | 20 20 20 41 4c 49 47 4e | | ALIGN|
|00000680| 0d 01 a4 04 0d 01 ae 24 | 2e 68 65 6c 70 73 74 72 |.......$|.helpstr|
|00000690| 20 20 20 20 20 20 20 20 | 45 51 55 53 20 20 20 20 | |EQUS |
|000006a0| 76 65 72 24 2b 62 6c 24 | 0d 01 b8 19 20 20 20 20 |ver$+bl$|.... |
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 41 4c 49 47 | | ALIG|
|000006c0| 4e 0d 01 c2 04 0d 01 cc | 25 2e 6b 65 79 77 6f 72 |N.......|%.keywor|
|000006d0| 64 73 20 20 20 20 20 20 | 20 45 51 55 53 20 20 20 |ds | EQUS |
|000006e0| 20 6e 61 6d 65 24 2b 62 | 6c 24 0d 01 d6 19 20 20 | name$+b|l$.... |
|000006f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 41 4c | | AL|
|00000700| 49 47 4e 0d 01 e0 3a 20 | 20 20 20 20 20 20 20 20 |IGN...: | |
|00000710| 20 20 20 20 20 20 20 45 | 51 55 44 20 20 20 20 30 | E|QUD 0|
|00000720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00000730| 20 4e 6f 20 2a 20 63 6f | 6d 6d 61 6e 64 0d 01 ea | No * co|mmand...|
|00000740| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |; | |
|00000750| 20 45 51 55 44 20 20 20 | 20 30 20 20 20 20 20 20 | EQUD | 0 |
|00000760| 20 20 20 20 20 20 20 20 | 20 3b 20 4e 6f 20 70 61 | | ; No pa|
|00000770| 72 61 6d 65 74 65 72 73 | 0d 01 f4 40 20 20 20 20 |rameters|...@ |
|00000780| 20 20 20 20 20 20 20 20 | 20 20 20 20 45 51 55 44 | | EQUD|
|00000790| 20 20 20 20 30 20 20 20 | 20 20 20 20 20 20 20 20 | 0 | |
|000007a0| 20 20 20 20 3b 20 4e 6f | 20 69 6e 76 61 6c 69 64 | ; No| invalid|
|000007b0| 20 6d 65 73 73 61 67 65 | 0d 01 fe 4c 20 20 20 20 | message|...L |
|000007c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 45 51 55 44 | | EQUD|
|000007d0| 20 20 20 20 77 61 72 66 | 68 65 6c 70 2d 6f 72 67 | warf|help-org|
|000007e0| 20 20 20 20 3b 20 50 6f | 69 6e 74 65 72 20 74 6f | ; Po|inter to|
|000007f0| 20 2a 48 65 6c 70 20 57 | 61 72 66 61 72 69 6e 20 | *Help W|arfarin |
|00000800| 74 65 78 74 0d 02 08 3e | 20 20 20 20 20 20 20 20 |text...>| |
|00000810| 20 20 20 20 20 20 20 20 | 45 51 55 44 20 20 20 20 | |EQUD |
|00000820| 30 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |0 | |
|00000830| 3b 20 4e 6f 20 6d 6f 72 | 65 20 63 6f 6d 6d 61 6e |; No mor|e comman|
|00000840| 64 73 0d 02 12 04 0d 02 | 1c 7d 2e 77 61 72 66 68 |ds......|.}.warfh|
|00000850| 65 6c 70 20 20 20 20 20 | 20 20 45 51 55 53 20 20 |elp | EQUS |
|00000860| 20 20 22 54 68 65 20 22 | 2b 6e 61 6d 65 24 2b 22 | "The "|+name$+"|
|00000870| 20 6d 6f 64 75 6c 65 20 | 61 6c 6c 6f 77 73 20 79 | module |allows y|
|00000880| 6f 75 72 20 6d 6f 75 73 | 65 20 74 6f 20 62 65 20 |our mous|e to be |
|00000890| 63 6f 6e 74 72 6f 6c 6c | 65 64 20 62 79 20 74 68 |controll|ed by th|
|000008a0| 65 20 75 73 65 20 6f 66 | 20 74 68 65 20 41 6c 74 |e use of| the Alt|
|000008b0| 20 61 6e 64 20 63 75 72 | 73 6f 72 20 6b 65 79 73 | and cur|sor keys|
|000008c0| 2e 20 22 0d 02 26 87 20 | 20 20 20 20 20 20 20 20 |. "..&. | |
|000008d0| 20 20 20 20 20 20 20 45 | 51 55 53 20 20 20 20 22 | E|QUS "|
|000008e0| 4d 6f 75 73 65 20 62 75 | 74 74 6f 6e 20 70 72 65 |Mouse bu|tton pre|
|000008f0| 73 73 65 73 20 63 61 6e | 20 62 65 20 73 69 6d 75 |sses can| be simu|
|00000900| 6c 61 74 65 64 20 77 69 | 74 68 20 41 6c 74 2d 49 |lated wi|th Alt-I|
|00000910| 6e 73 65 72 74 20 28 4c | 65 66 74 29 2c 20 41 6c |nsert (L|eft), Al|
|00000920| 74 2d 48 6f 6d 65 20 28 | 4d 69 64 64 6c 65 29 20 |t-Home (|Middle) |
|00000930| 61 6e 64 20 41 6c 74 2d | 50 61 67 65 2d 55 70 20 |and Alt-|Page-Up |
|00000940| 28 52 69 67 68 74 29 2e | 20 22 0d 02 27 65 20 20 |(Right).| "..'e |
|00000950| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 45 51 | | EQ|
|00000960| 55 53 20 20 20 20 22 54 | 68 65 73 65 20 64 65 66 |US "T|hese def|
|00000970| 61 75 6c 74 20 6b 65 79 | 73 20 63 61 6e 20 62 65 |ault key|s can be|
|00000980| 20 65 61 73 69 6c 79 20 | 63 68 61 6e 67 65 64 20 | easily |changed |
|00000990| 76 69 61 20 22 2b 6e 61 | 6d 65 24 2b 22 24 2a 20 |via "+na|me$+"$* |
|000009a0| 76 61 72 69 61 62 6c 65 | 73 2e 22 2b 62 6c 24 0d |variable|s."+bl$.|
|000009b0| 02 30 19 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.0. | |
|000009c0| 20 20 20 41 4c 49 47 4e | 0d 02 3a 04 0d 02 44 0f | ALIGN|..:...D.|
|000009d0| 2e 74 72 61 70 65 76 65 | 6e 74 73 0d 02 4e 39 3b |.trapeve|nts..N9;|
|000009e0| 20 4f 6e 20 65 6e 74 72 | 79 2c 20 20 20 20 20 52 | On entr|y, R|
|000009f0| 30 20 20 20 20 20 20 3d | 20 31 33 20 74 6f 20 64 |0 =| 13 to d|
|00000a00| 69 73 61 62 6c 65 2c 20 | 31 34 20 74 6f 20 65 6e |isable, |14 to en|
|00000a10| 61 62 6c 65 0d 02 58 2c | 20 20 20 20 20 20 20 20 |able..X,| |
|00000a20| 20 20 20 20 20 20 20 20 | 53 54 4d 46 44 20 20 20 | |STMFD |
|00000a30| 52 31 33 21 2c 7b 52 31 | 2c 52 32 2c 52 31 34 7d |R13!,{R1|,R2,R14}|
|00000a40| 0d 02 62 4a 20 20 20 20 | 20 20 20 20 20 20 20 20 |..bJ | |
|00000a50| 20 20 20 20 4d 4f 56 20 | 20 20 20 20 52 31 2c 23 | MOV | R1,#|
|00000a60| 32 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 43 68 |2 | ; Ch|
|00000a70| 61 72 61 63 74 65 72 20 | 69 6e 73 65 72 74 65 64 |aracter |inserted|
|00000a80| 20 69 6e 20 62 75 66 66 | 65 72 0d 02 6c 26 20 20 | in buff|er..l& |
|00000a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 53 57 | | SW|
|00000aa0| 49 20 20 20 20 20 22 58 | 4f 53 5f 42 79 74 65 22 |I "X|OS_Byte"|
|00000ab0| 0d 02 76 3c 20 20 20 20 | 20 20 20 20 20 20 20 20 |..v< | |
|00000ac0| 20 20 20 20 4d 4f 56 20 | 20 20 20 20 52 31 2c 23 | MOV | R1,#|
|00000ad0| 34 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 53 63 |4 | ; Sc|
|00000ae0| 72 65 65 6e 20 72 65 66 | 72 65 73 68 0d 02 80 26 |reen ref|resh...&|
|00000af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b00| 53 57 49 20 20 20 20 20 | 22 58 4f 53 5f 42 79 74 |SWI |"XOS_Byt|
|00000b10| 65 22 0d 02 8a 39 20 20 | 20 20 20 20 20 20 20 20 |e"...9 | |
|00000b20| 20 20 20 20 20 20 4d 4f | 56 20 20 20 20 20 52 31 | MO|V R1|
|00000b30| 2c 23 31 31 20 20 20 20 | 20 20 20 20 20 20 3b 20 |,#11 | ; |
|00000b40| 4b 65 79 20 75 70 2f 64 | 6f 77 6e 0d 02 94 26 20 |Key up/d|own...& |
|00000b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 53 | | S|
|00000b60| 57 49 20 20 20 20 20 22 | 58 4f 53 5f 42 79 74 65 |WI "|XOS_Byte|
|00000b70| 22 0d 02 9e 2b 20 20 20 | 20 20 20 20 20 20 20 20 |"...+ | |
|00000b80| 20 20 20 20 20 4c 44 4d | 46 44 20 20 20 52 31 33 | LDM|FD R13|
|00000b90| 21 2c 7b 52 31 2c 52 32 | 2c 50 43 7d 0d 02 a8 04 |!,{R1,R2|,PC}....|
|00000ba0| 0d 02 b2 11 2e 74 72 61 | 6e 73 6c 61 74 65 76 61 |.....tra|nslateva|
|00000bb0| 72 0d 02 bc 36 3b 20 4f | 6e 20 65 6e 74 72 79 2c |r...6; O|n entry,|
|00000bc0| 20 20 20 20 20 52 30 20 | 20 20 20 20 20 3d 20 50 | R0 | = P|
|00000bd0| 6f 69 6e 74 65 72 20 74 | 6f 20 76 61 72 69 61 62 |ointer t|o variab|
|00000be0| 6c 65 20 6e 61 6d 65 0d | 02 c6 38 3b 20 20 20 20 |le name.|..8; |
|00000bf0| 20 20 20 20 20 20 20 20 | 20 20 20 52 31 20 20 20 | | R1 |
|00000c00| 20 20 20 3d 20 44 65 66 | 61 75 6c 74 20 76 61 6c | = Def|ault val|
|00000c10| 75 65 20 69 66 20 75 6e | 64 65 66 69 6e 65 64 0d |ue if un|defined.|
|00000c20| 02 d0 2c 3b 20 4f 6e 20 | 65 78 69 74 2c 20 20 20 |..,; On |exit, |
|00000c30| 20 20 20 52 30 20 20 20 | 20 20 20 3d 20 56 61 6c | R0 | = Val|
|00000c40| 75 65 20 72 65 74 75 72 | 6e 65 64 0d 02 da 2c 20 |ue retur|ned..., |
|00000c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 53 | | S|
|00000c60| 54 4d 46 44 20 20 20 52 | 31 33 21 2c 7b 52 31 2d |TMFD R|13!,{R1-|
|00000c70| 52 35 2c 52 31 34 7d 0d | 02 e4 21 20 20 20 20 20 |R5,R14}.|..! |
|00000c80| 20 20 20 20 20 20 20 20 | 20 20 20 4d 4f 56 20 20 | | MOV |
|00000c90| 20 20 20 52 35 2c 52 31 | 0d 02 ee 3b 20 20 20 20 | R5,R1|...; |
|00000ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 41 44 52 20 | | ADR |
|00000cb0| 20 20 20 20 52 31 2c 76 | 61 6c 75 65 72 65 61 64 | R1,v|alueread|
|00000cc0| 20 20 20 20 3b 20 52 65 | 74 75 72 6e 20 62 75 66 | ; Re|turn buf|
|00000cd0| 66 65 72 0d 02 f8 39 20 | 20 20 20 20 20 20 20 20 |fer...9 | |
|00000ce0| 20 20 20 20 20 20 20 4d | 4f 56 20 20 20 20 20 52 | M|OV R|
|00000cf0| 32 2c 23 34 20 20 20 20 | 20 20 20 20 20 20 20 3b |2,#4 | ;|
|00000d00| 20 42 75 66 66 65 72 20 | 73 69 7a 65 0d 03 02 41 | Buffer |size...A|
|00000d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d20| 4d 4f 56 20 20 20 20 20 | 52 33 2c 23 30 20 20 20 |MOV |R3,#0 |
|00000d30| 20 20 20 20 20 20 20 20 | 3b 20 46 69 72 73 74 20 | |; First |
|00000d40| 61 6e 64 20 6f 6e 6c 79 | 20 63 61 6c 6c 0d 03 0c |and only| call...|
|00000d50| 3c 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |< | |
|00000d60| 20 4d 4f 56 20 20 20 20 | 20 52 34 2c 23 30 20 20 | MOV | R4,#0 |
|00000d70| 20 20 20 20 20 20 20 20 | 20 3b 20 4e 6f 20 74 72 | | ; No tr|
|00000d80| 61 6e 73 6c 61 74 69 6f | 6e 0d 03 16 2c 20 20 20 |anslatio|n..., |
|00000d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 53 57 49 | | SWI|
|00000da0| 20 20 20 20 20 22 58 4f | 53 5f 52 65 61 64 56 61 | "XO|S_ReadVa|
|00000db0| 72 56 61 6c 22 0d 03 20 | 28 20 20 20 20 20 20 20 |rVal".. |( |
|00000dc0| 20 20 20 20 20 20 20 20 | 20 4c 44 52 42 20 20 20 | | LDRB |
|00000dd0| 20 52 30 2c 76 61 6c 75 | 65 72 65 61 64 0d 03 2a | R0,valu|eread..*|
|00000de0| 39 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |9 | |
|00000df0| 20 4d 4f 56 56 53 20 20 | 20 52 30 2c 52 35 20 20 | MOVVS | R0,R5 |
|00000e00| 20 20 20 20 20 20 20 20 | 20 3b 20 46 61 69 6c 65 | | ; Faile|
|00000e10| 64 20 63 61 6c 6c 0d 03 | 34 21 20 20 20 20 20 20 |d call..|4! |
|00000e20| 20 20 20 20 20 20 20 20 | 20 20 43 4d 50 20 20 20 | | CMP |
|00000e30| 20 20 52 34 2c 23 31 0d | 03 3e 3a 20 20 20 20 20 | R4,#1.|.>: |
|00000e40| 20 20 20 20 20 20 20 20 | 20 20 20 4d 4f 56 4e 45 | | MOVNE|
|00000e50| 20 20 20 52 30 2c 52 35 | 20 20 20 20 20 20 20 20 | R0,R5| |
|00000e60| 20 20 20 3b 20 4e 6f 74 | 20 61 20 6e 75 6d 62 65 | ; Not| a numbe|
|00000e70| 72 0d 03 48 2b 20 20 20 | 20 20 20 20 20 20 20 20 |r..H+ | |
|00000e80| 20 20 20 20 20 4c 44 4d | 46 44 20 20 20 52 31 33 | LDM|FD R13|
|00000e90| 21 2c 7b 52 31 2d 52 35 | 2c 50 43 7d 0d 03 52 1d |!,{R1-R5|,PC}..R.|
|00000ea0| 2e 76 61 6c 75 65 72 65 | 61 64 20 20 20 20 20 20 |.valuere|ad |
|00000eb0| 45 51 55 44 20 20 20 20 | 30 0d 03 5c 04 0d 03 66 |EQUD |0..\...f|
|00000ec0| 2c 2e 69 6e 69 74 20 20 | 20 20 20 20 20 20 20 20 |,.init | |
|00000ed0| 20 53 54 4d 46 44 20 20 | 20 52 31 33 21 2c 7b 52 | STMFD | R13!,{R|
|00000ee0| 30 2d 52 32 2c 52 31 34 | 7d 0d 03 70 26 20 20 20 |0-R2,R14|}..p& |
|00000ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4d 4f 56 | | MOV|
|00000f00| 20 20 20 20 20 52 30 2c | 23 45 76 65 6e 74 56 0d | R0,|#EventV.|
|00000f10| 03 7a 28 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.z( | |
|00000f20| 20 20 20 41 44 52 20 20 | 20 20 20 52 31 2c 65 76 | ADR | R1,ev|
|00000f30| 65 6e 74 74 72 61 70 0d | 03 84 21 20 20 20 20 20 |enttrap.|..! |
|00000f40| 20 20 20 20 20 20 20 20 | 20 20 20 4d 4f 56 20 20 | | MOV |
|00000f50| 20 20 20 52 32 2c 23 30 | 0d 03 8e 4a 20 20 20 20 | R2,#0|...J |
|00000f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 53 54 52 20 | | STR |
|00000f70| 20 20 20 20 52 32 2c 61 | 6c 74 6b 65 79 73 74 61 | R2,a|ltkeysta|
|00000f80| 74 75 73 20 3b 20 41 6c | 6c 20 73 70 65 63 69 61 |tus ; Al|l specia|
|00000f90| 6c 20 6b 65 79 73 20 6e | 6f 74 20 70 72 65 73 73 |l keys n|ot press|
|00000fa0| 65 64 0d 03 98 2d 20 20 | 20 20 20 20 20 20 20 20 |ed...- | |
|00000fb0| 20 20 20 20 20 20 53 54 | 52 20 20 20 20 20 52 32 | ST|R R2|
|00000fc0| 2c 61 6c 74 6b 65 79 73 | 74 61 74 75 73 2b 34 0d |,altkeys|tatus+4.|
|00000fd0| 03 a2 27 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..' | |
|00000fe0| 20 20 20 53 57 49 20 20 | 20 20 20 22 58 4f 53 5f | SWI | "XOS_|
|00000ff0| 43 6c 61 69 6d 22 0d 03 | ac 24 20 20 20 20 20 20 |Claim"..|.$ |
|00001000| 20 20 20 20 20 20 20 20 | 20 20 4d 4f 56 20 20 20 | | MOV |
|00001010| 20 20 52 30 2c 23 49 6e | 73 56 0d 03 b6 29 20 20 | R0,#In|sV...) |
|00001020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 41 44 | | AD|
|00001030| 52 20 20 20 20 20 52 31 | 2c 69 6e 73 65 72 74 74 |R R1|,insertt|
|00001040| 72 61 70 0d 03 c0 21 20 | 20 20 20 20 20 20 20 20 |rap...! | |
|00001050| 20 20 20 20 20 20 20 4d | 4f 56 20 20 20 20 20 52 | M|OV R|
|00001060| 32 2c 23 30 0d 03 ca 27 | 20 20 20 20 20 20 20 20 |2,#0...'| |
|00001070| 20 20 20 20 20 20 20 20 | 53 57 49 20 20 20 20 20 | |SWI |
|00001080| 22 58 4f 53 5f 43 6c 61 | 69 6d 22 0d 03 d4 26 20 |"XOS_Cla|im"...& |
|00001090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4d | | M|
|000010a0| 4f 56 20 20 20 20 20 52 | 30 2c 23 4d 6f 75 73 65 |OV R|0,#Mouse|
|000010b0| 56 0d 03 de 28 20 20 20 | 20 20 20 20 20 20 20 20 |V...( | |
|000010c0| 20 20 20 20 20 41 44 52 | 20 20 20 20 20 52 31 2c | ADR| R1,|
|000010d0| 6d 6f 75 73 65 74 72 61 | 70 0d 03 e8 21 20 20 20 |mousetra|p...! |
|000010e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4d 4f 56 | | MOV|
|000010f0| 20 20 20 20 20 52 32 2c | 23 30 0d 03 f2 27 20 20 | R2,|#0...' |
|00001100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 53 57 | | SW|
|00001110| 49 20 20 20 20 20 22 58 | 4f 53 5f 43 6c 61 69 6d |I "X|OS_Claim|
|00001120| 22 0d 03 fc 22 20 20 20 | 20 20 20 20 20 20 20 20 |"..." | |
|00001130| 20 20 20 20 20 4d 4f 56 | 20 20 20 20 20 52 30 2c | MOV| R0,|
|00001140| 23 31 34 0d 04 06 43 20 | 20 20 20 20 20 20 20 20 |#14...C | |
|00001150| 20 20 20 20 20 20 20 42 | 4c 20 20 20 20 20 20 74 | B|L t|
|00001160| 72 61 70 65 76 65 6e 74 | 73 20 20 20 20 20 20 3b |rapevent|s ;|
|00001170| 20 45 6e 61 62 6c 65 20 | 63 6c 61 69 6d 65 64 20 | Enable |claimed |
|00001180| 65 76 65 6e 74 73 0d 04 | 10 23 20 20 20 20 20 20 |events..|.# |
|00001190| 20 20 20 20 20 20 20 20 | 20 20 4d 4f 56 20 20 20 | | MOV |
|000011a0| 20 20 52 30 2c 23 31 36 | 31 0d 04 1a 23 20 20 20 | R0,#16|1...# |
|000011b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4d 4f 56 | | MOV|
|000011c0| 20 20 20 20 20 52 31 2c | 23 31 39 34 0d 04 24 45 | R1,|#194..$E|
|000011d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000011e0| 53 57 49 20 20 20 20 20 | 22 58 4f 53 5f 42 79 74 |SWI |"XOS_Byt|
|000011f0| 65 22 20 20 20 20 20 20 | 3b 20 52 65 61 64 20 4d |e" |; Read M|
|00001200| 6f 75 73 65 20 73 74 65 | 70 20 73 65 74 74 69 6e |ouse ste|p settin|
|00001210| 67 0d 04 2e 3e 20 20 20 | 20 20 20 20 20 20 20 20 |g...> | |
|00001220| 20 20 20 20 20 41 44 44 | 20 20 20 20 20 52 32 2c | ADD| R2,|
|00001230| 52 32 2c 23 6d 6f 75 73 | 65 62 6f 6f 73 74 25 20 |R2,#mous|eboost% |
|00001240| 20 20 20 20 20 3b 20 42 | 6f 6f 73 74 20 69 74 0d | ; B|oost it.|
|00001250| 04 38 29 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.8) | |
|00001260| 20 20 20 53 54 52 42 20 | 20 20 20 52 32 2c 6d 6f | STRB | R2,mo|
|00001270| 75 73 65 73 70 65 65 64 | 0d 04 42 28 20 20 20 20 |usespeed|..B( |
|00001280| 20 20 20 20 20 20 20 20 | 20 20 20 20 41 44 52 20 | | ADR |
|00001290| 20 20 20 20 52 30 2c 66 | 61 6b 65 31 6e 61 6d 65 | R0,f|ake1name|
|000012a0| 0d 04 4c 46 20 20 20 20 | 20 20 20 20 20 20 20 20 |..LF | |
|000012b0| 20 20 20 20 4d 4f 56 20 | 20 20 20 20 52 31 2c 23 | MOV | R1,#|
|000012c0| 26 35 45 20 3b 20 4d 6f | 64 69 66 69 65 72 20 31 |&5E ; Mo|difier 1|
|000012d0| 20 20 20 20 2d 3e 20 26 | 35 45 20 2d 3e 20 4c 65 | -> &|5E -> Le|
|000012e0| 66 74 20 41 6c 74 0d 04 | 56 28 20 20 20 20 20 20 |ft Alt..|V( |
|000012f0| 20 20 20 20 20 20 20 20 | 20 20 42 4c 20 20 20 20 | | BL |
|00001300| 20 20 74 72 61 6e 73 6c | 61 74 65 76 61 72 0d 04 | transl|atevar..|
|00001310| 60 27 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |`' | |
|00001320| 20 20 53 54 52 42 20 20 | 20 20 52 30 2c 66 61 6b | STRB | R0,fak|
|00001330| 65 31 76 61 6c 0d 04 6a | 28 20 20 20 20 20 20 20 |e1val..j|( |
|00001340| 20 20 20 20 20 20 20 20 | 20 41 44 52 20 20 20 20 | | ADR |
|00001350| 20 52 30 2c 66 61 6b 65 | 32 6e 61 6d 65 0d 04 74 | R0,fake|2name..t|
|00001360| 47 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |G | |
|00001370| 20 4d 4f 56 20 20 20 20 | 20 52 31 2c 23 26 36 30 | MOV | R1,#&60|
|00001380| 20 3b 20 4d 6f 64 69 66 | 69 65 72 20 32 20 20 20 | ; Modif|ier 2 |
|00001390| 20 2d 3e 20 26 36 30 20 | 2d 3e 20 52 69 67 68 74 | -> &60 |-> Right|
|000013a0| 20 41 6c 74 0d 04 7e 28 | 20 20 20 20 20 20 20 20 | Alt..~(| |
|000013b0| 20 20 20 20 20 20 20 20 | 42 4c 20 20 20 20 20 20 | |BL |
|000013c0| 74 72 61 6e 73 6c 61 74 | 65 76 61 72 0d 04 88 27 |translat|evar...'|
|000013d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013e0| 53 54 52 42 20 20 20 20 | 52 30 2c 66 61 6b 65 32 |STRB |R0,fake2|
|000013f0| 76 61 6c 0d 04 92 2c 20 | 20 20 20 20 20 20 20 20 |val..., | |
|00001400| 20 20 20 20 20 20 20 41 | 44 52 20 20 20 20 20 52 | A|DR R|
|00001410| 30 2c 6c 65 66 74 6d 6f | 75 73 65 6e 61 6d 65 0d |0,leftmo|usename.|
|00001420| 04 9c 44 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..D | |
|00001430| 20 20 20 4d 4f 56 20 20 | 20 20 20 52 31 2c 23 26 | MOV | R1,#&|
|00001440| 31 46 20 3b 20 4c 65 66 | 74 20 20 20 62 75 74 74 |1F ; Lef|t butt|
|00001450| 6f 6e 20 2d 3e 20 26 31 | 46 20 2d 3e 20 49 6e 73 |on -> &1|F -> Ins|
|00001460| 65 72 74 0d 04 a6 28 20 | 20 20 20 20 20 20 20 20 |ert...( | |
|00001470| 20 20 20 20 20 20 20 42 | 4c 20 20 20 20 20 20 74 | B|L t|
|00001480| 72 61 6e 73 6c 61 74 65 | 76 61 72 0d 04 b0 2b 20 |ranslate|var...+ |
|00001490| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 53 | | S|
|000014a0| 54 52 42 20 20 20 20 52 | 30 2c 6c 65 66 74 6d 6f |TRB R|0,leftmo|
|000014b0| 75 73 65 76 61 6c 0d 04 | ba 2b 20 20 20 20 20 20 |useval..|.+ |
|000014c0| 20 20 20 20 20 20 20 20 | 20 20 41 44 52 20 20 20 | | ADR |
|000014d0| 20 20 52 30 2c 6d 69 64 | 6d 6f 75 73 65 6e 61 6d | R0,mid|mousenam|
|000014e0| 65 0d 04 c4 42 20 20 20 | 20 20 20 20 20 20 20 20 |e...B | |
|000014f0| 20 20 20 20 20 4d 4f 56 | 20 20 20 20 20 52 31 2c | MOV| R1,|
|00001500| 23 26 32 30 20 3b 20 4d | 69 64 64 6c 65 20 62 75 |#&20 ; M|iddle bu|
|00001510| 74 74 6f 6e 20 2d 3e 20 | 26 32 30 20 2d 3e 20 48 |tton -> |&20 -> H|
|00001520| 6f 6d 65 0d 04 ce 28 20 | 20 20 20 20 20 20 20 20 |ome...( | |
|00001530| 20 20 20 20 20 20 20 42 | 4c 20 20 20 20 20 20 74 | B|L t|
|00001540| 72 61 6e 73 6c 61 74 65 | 76 61 72 0d 04 d8 2a 20 |ranslate|var...* |
|00001550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 53 | | S|
|00001560| 54 52 42 20 20 20 20 52 | 30 2c 6d 69 64 6d 6f 75 |TRB R|0,midmou|
|00001570| 73 65 76 61 6c 0d 04 e2 | 2d 20 20 20 20 20 20 20 |seval...|- |
|00001580| 20 20 20 20 20 20 20 20 | 20 41 44 52 20 20 20 20 | | ADR |
|00001590| 20 52 30 2c 72 69 67 68 | 74 6d 6f 75 73 65 6e 61 | R0,righ|tmousena|
|000015a0| 6d 65 0d 04 ec 45 20 20 | 20 20 20 20 20 20 20 20 |me...E | |
|000015b0| 20 20 20 20 20 20 4d 4f | 56 20 20 20 20 20 52 31 | MO|V R1|
|000015c0| 2c 23 26 32 31 20 3b 20 | 52 69 67 68 74 20 20 62 |,#&21 ; |Right b|
|000015d0| 75 74 74 6f 6e 20 2d 3e | 20 26 32 31 20 2d 3e 20 |utton ->| &21 -> |
|000015e0| 50 61 67 65 20 55 70 0d | 04 f6 28 20 20 20 20 20 |Page Up.|..( |
|000015f0| 20 20 20 20 20 20 20 20 | 20 20 20 42 4c 20 20 20 | | BL |
|00001600| 20 20 20 74 72 61 6e 73 | 6c 61 74 65 76 61 72 0d | trans|latevar.|
|00001610| 05 00 2c 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.., | |
|00001620| 20 20 20 53 54 52 42 20 | 20 20 20 52 30 2c 72 69 | STRB | R0,ri|
|00001630| 67 68 74 6d 6f 75 73 65 | 76 61 6c 0d 05 0a 2b 20 |ghtmouse|val...+ |
|00001640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4c | | L|
|00001650| 44 4d 46 44 20 20 20 52 | 31 33 21 2c 7b 52 30 2d |DMFD R|13!,{R0-|
|00001660| 52 32 2c 50 43 7d 0d 05 | 14 2e 2e 66 61 6b 65 31 |R2,PC}..|...fake1|
|00001670| 6e 61 6d 65 20 20 20 20 | 20 20 45 51 55 53 20 20 |name | EQUS |
|00001680| 20 20 6e 61 6d 65 24 2b | 22 24 46 61 6b 65 31 22 | name$+|"$Fake1"|
|00001690| 2b 62 6c 24 0d 05 1e 2e | 2e 66 61 6b 65 32 6e 61 |+bl$....|.fake2na|
|000016a0| 6d 65 20 20 20 20 20 20 | 45 51 55 53 20 20 20 20 |me |EQUS |
|000016b0| 6e 61 6d 65 24 2b 22 24 | 46 61 6b 65 32 22 2b 62 |name$+"$|Fake2"+b|
|000016c0| 6c 24 0d 05 28 2d 2e 6c | 65 66 74 6d 6f 75 73 65 |l$..(-.l|eftmouse|
|000016d0| 6e 61 6d 65 20 20 45 51 | 55 53 20 20 20 20 6e 61 |name EQ|US na|
|000016e0| 6d 65 24 2b 22 24 4c 65 | 66 74 22 2b 62 6c 24 0d |me$+"$Le|ft"+bl$.|
|000016f0| 05 32 2f 2e 6d 69 64 6d | 6f 75 73 65 6e 61 6d 65 |.2/.midm|ousename|
|00001700| 20 20 20 45 51 55 53 20 | 20 20 20 6e 61 6d 65 24 | EQUS | name$|
|00001710| 2b 22 24 4d 69 64 64 6c | 65 22 2b 62 6c 24 0d 05 |+"$Middl|e"+bl$..|
|00001720| 3c 2e 2e 72 69 67 68 74 | 6d 6f 75 73 65 6e 61 6d |<..right|mousenam|
|00001730| 65 20 45 51 55 53 20 20 | 20 20 6e 61 6d 65 24 2b |e EQUS | name$+|
|00001740| 22 24 52 69 67 68 74 22 | 2b 62 6c 24 0d 05 46 19 |"$Right"|+bl$..F.|
|00001750| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001760| 41 4c 49 47 4e 0d 05 50 | 04 0d 05 5a 10 2e 73 65 |ALIGN..P|...Z..se|
|00001770| 72 76 69 63 65 63 61 6c | 6c 0d 05 64 31 3b 20 4f |rvicecal|l..d1; O|
|00001780| 6e 20 65 6e 74 72 79 2c | 20 20 20 20 20 52 31 20 |n entry,| R1 |
|00001790| 20 20 20 20 20 3d 20 53 | 65 72 76 69 63 65 20 63 | = S|ervice c|
|000017a0| 61 6c 6c 20 6e 75 6d 62 | 65 72 0d 05 6e 26 20 20 |all numb|er..n& |
|000017b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 53 54 | | ST|
|000017c0| 4d 46 44 20 20 20 52 31 | 33 21 2c 7b 52 31 34 7d |MFD R1|3!,{R14}|
|000017d0| 0d 05 78 42 20 20 20 20 | 20 20 20 20 20 20 20 20 |..xB | |
|000017e0| 20 20 20 20 43 4d 50 20 | 20 20 20 20 52 31 2c 23 | CMP | R1,#|
|000017f0| 26 32 37 20 20 20 20 20 | 20 20 20 20 3b 20 45 6e |&27 | ; En|
|00001800| 64 20 6f 66 20 6d 61 63 | 68 69 6e 65 20 72 65 73 |d of mac|hine res|
|00001810| 65 74 0d 05 82 41 20 20 | 20 20 20 20 20 20 20 20 |et...A | |
|00001820| 20 20 20 20 20 20 42 4c | 45 51 20 20 20 20 69 6e | BL|EQ in|
|00001830| 69 74 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 |it | ; |
|00001840| 52 65 61 63 74 69 76 61 | 74 65 20 57 61 72 66 61 |Reactiva|te Warfa|
|00001850| 72 69 6e 0d 05 8c 25 20 | 20 20 20 20 20 20 20 20 |rin...% | |
|00001860| 20 20 20 20 20 20 20 4c | 44 4d 46 44 20 20 20 52 | L|DMFD R|
|00001870| 31 33 21 2c 7b 50 43 7d | 0d 05 96 04 0d 05 a0 0e |13!,{PC}|........|
|00001880| 2e 65 76 65 6e 74 74 72 | 61 70 0d 05 aa 3f 3b 20 |.eventtr|ap...?; |
|00001890| 4f 6e 20 65 6e 74 72 79 | 2c 20 20 20 20 20 52 30 |On entry|, R0|
|000018a0| 20 20 20 20 20 20 3d 20 | 45 76 65 6e 74 20 6e 75 | = |Event nu|
|000018b0| 6d 62 65 72 20 28 31 31 | 20 66 6f 72 20 6b 65 79 |mber (11| for key|
|000018c0| 20 75 70 2f 64 6f 77 6e | 29 0d 05 b4 2c 20 20 20 | up/down|)..., |
|000018d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 53 54 4d | | STM|
|000018e0| 46 44 20 20 20 52 31 33 | 21 2c 7b 52 30 2d 52 35 |FD R13|!,{R0-R5|
|000018f0| 2c 52 31 34 7d 0d 05 be | 3a 20 20 20 20 20 20 20 |,R14}...|: |
|00001900| 20 20 20 20 20 20 20 20 | 20 43 4d 50 20 20 20 20 | | CMP |
|00001910| 20 52 30 2c 23 31 31 20 | 20 3b 20 57 61 73 20 69 | R0,#11 | ; Was i|
|00001920| 74 20 6b 65 79 20 75 70 | 2f 64 6f 77 6e 20 3f 0d |t key up|/down ?.|
|00001930| 05 c8 28 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..( | |
|00001940| 20 20 20 42 4e 45 20 20 | 20 20 20 6e 6f 74 6b 65 | BNE | notke|
|00001950| 79 75 70 64 6f 77 6e 0d | 05 d2 3a 3b 20 57 68 65 |yupdown.|..:; Whe|
|00001960| 6e 20 52 30 20 3d 20 31 | 31 2c 20 52 31 20 20 20 |n R0 = 1|1, R1 |
|00001970| 20 20 20 3d 20 30 20 66 | 6f 72 20 6b 65 79 20 75 | = 0 f|or key u|
|00001980| 70 2c 20 31 20 66 6f 72 | 20 6b 65 79 20 64 6f 77 |p, 1 for| key dow|
|00001990| 6e 0d 05 dc 3a 3b 20 20 | 20 20 20 20 20 20 20 20 |n...:; | |
|000019a0| 20 20 20 20 20 52 32 20 | 20 20 20 20 20 3d 20 49 | R2 | = I|
|000019b0| 6e 74 65 72 6e 61 6c 20 | 6b 65 79 20 63 6f 64 65 |nternal |key code|
|000019c0| 20 28 50 61 67 65 20 31 | 32 32 29 0d 05 e6 27 20 | (Page 1|22)...' |
|000019d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4c | | L|
|000019e0| 44 52 42 20 20 20 20 52 | 33 2c 66 61 6b 65 31 76 |DRB R|3,fake1v|
|000019f0| 61 6c 0d 05 f0 37 20 20 | 20 20 20 20 20 20 20 20 |al...7 | |
|00001a00| 20 20 20 20 20 20 43 4d | 50 20 20 20 20 20 52 32 | CM|P R2|
|00001a10| 2c 52 33 20 3b 20 57 61 | 73 20 69 74 20 6d 6f 64 |,R3 ; Wa|s it mod|
|00001a20| 69 66 69 65 72 20 31 20 | 3f 0d 05 fa 27 20 20 20 |ifier 1 |?...' |
|00001a30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4c 44 52 | | LDR|
|00001a40| 4e 45 42 20 20 52 33 2c | 66 61 6b 65 32 76 61 6c |NEB R3,|fake2val|
|00001a50| 0d 06 04 37 20 20 20 20 | 20 20 20 20 20 20 20 20 |...7 | |
|00001a60| 20 20 20 20 43 4d 50 4e | 45 20 20 20 52 32 2c 52 | CMPN|E R2,R|
|00001a70| 33 20 3b 20 57 61 73 20 | 69 74 20 6d 6f 64 69 66 |3 ; Was |it modif|
|00001a80| 69 65 72 20 32 20 3f 0d | 06 0e 28 20 20 20 20 20 |ier 2 ?.|..( |
|00001a90| 20 20 20 20 20 20 20 20 | 20 20 20 42 4e 45 20 20 | | BNE |
|00001aa0| 20 20 20 63 68 65 63 6b | 74 68 65 72 65 73 74 0d | check|therest.|
|00001ab0| 06 18 43 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..C | |
|00001ac0| 20 20 20 4d 4f 56 53 20 | 20 20 20 52 31 2c 52 31 | MOVS | R1,R1|
|00001ad0| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 49 66 20 | | ; If |
|00001ae0| 41 6c 74 20 72 65 6c 65 | 61 73 65 64 2c 20 74 68 |Alt rele|ased, th|
|00001af0| 65 6e 0d 06 22 49 20 20 | 20 20 20 20 20 20 20 20 |en.."I | |
|00001b00| 20 20 20 20 20 20 53 54 | 52 4e 45 42 20 20 52 31 | ST|RNEB R1|
|00001b10| 2c 61 6c 74 6b 65 79 73 | 74 61 74 75 73 20 3b 20 |,altkeys|tatus ; |
|00001b20| 6e 6f 20 6d 6f 76 65 6d | 65 6e 74 2f 62 75 74 74 |no movem|ent/butt|
|00001b30| 6f 6e 73 20 61 6e 79 6d | 6f 72 65 0d 06 2c 2b 20 |ons anym|ore..,+ |
|00001b40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 53 | | S|
|00001b50| 54 52 45 51 20 20 20 52 | 31 2c 61 6c 74 6b 65 79 |TREQ R|1,altkey|
|00001b60| 73 74 61 74 75 73 0d 06 | 36 2d 20 20 20 20 20 20 |status..|6- |
|00001b70| 20 20 20 20 20 20 20 20 | 20 20 53 54 52 45 51 20 | | STREQ |
|00001b80| 20 20 52 31 2c 61 6c 74 | 6b 65 79 73 74 61 74 75 | R1,alt|keystatu|
|00001b90| 73 2b 34 0d 06 40 23 20 | 20 20 20 20 20 20 20 20 |s+4..@# | |
|00001ba0| 20 20 20 20 20 20 20 42 | 20 20 20 20 20 20 20 6e | B| n|
|00001bb0| 6f 65 76 65 6e 74 0d 06 | 4a 39 2e 63 68 65 63 6b |oevent..|J9.check|
|00001bc0| 74 68 65 72 65 73 74 20 | 20 20 43 4d 50 20 20 20 |therest | CMP |
|00001bd0| 20 20 52 32 2c 23 26 36 | 32 20 3b 20 57 61 73 20 | R2,#&6|2 ; Was |
|00001be0| 69 74 20 4c 65 66 74 20 | 41 72 72 6f 77 20 3f 0d |it Left |Arrow ?.|
|00001bf0| 06 54 29 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.T) | |
|00001c00| 20 20 20 53 54 52 45 51 | 42 20 20 52 31 2c 6c 65 | STREQ|B R1,le|
|00001c10| 66 74 73 74 61 74 75 73 | 0d 06 5e 23 20 20 20 20 |ftstatus|..^# |
|00001c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 42 45 51 20 | | BEQ |
|00001c30| 20 20 20 20 6e 6f 65 76 | 65 6e 74 0d 06 68 3a 20 | noev|ent..h: |
|00001c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 43 | | C|
|00001c50| 4d 50 20 20 20 20 20 52 | 32 2c 23 26 36 34 20 3b |MP R|2,#&64 ;|
|00001c60| 20 57 61 73 20 69 74 20 | 52 69 67 68 74 20 41 72 | Was it |Right Ar|
|00001c70| 72 6f 77 20 3f 0d 06 72 | 2a 20 20 20 20 20 20 20 |row ?..r|* |
|00001c80| 20 20 20 20 20 20 20 20 | 20 53 54 52 45 51 42 20 | | STREQB |
|00001c90| 20 52 31 2c 72 69 67 68 | 74 73 74 61 74 75 73 0d | R1,righ|tstatus.|
|00001ca0| 06 7c 23 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.|# | |
|00001cb0| 20 20 20 42 45 51 20 20 | 20 20 20 6e 6f 65 76 65 | BEQ | noeve|
|00001cc0| 6e 74 0d 06 86 37 20 20 | 20 20 20 20 20 20 20 20 |nt...7 | |
|00001cd0| 20 20 20 20 20 20 43 4d | 50 20 20 20 20 20 52 32 | CM|P R2|
|00001ce0| 2c 23 26 35 39 20 3b 20 | 57 61 73 20 69 74 20 55 |,#&59 ; |Was it U|
|00001cf0| 70 20 41 72 72 6f 77 20 | 3f 0d 06 90 27 20 20 20 |p Arrow |?...' |
|00001d00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 53 54 52 | | STR|
|00001d10| 45 51 42 20 20 52 31 2c | 75 70 73 74 61 74 75 73 |EQB R1,|upstatus|
|00001d20| 0d 06 9a 23 20 20 20 20 | 20 20 20 20 20 20 20 20 |...# | |
|00001d30| 20 20 20 20 42 45 51 20 | 20 20 20 20 6e 6f 65 76 | BEQ | noev|
|00001d40| 65 6e 74 0d 06 a4 39 20 | 20 20 20 20 20 20 20 20 |ent...9 | |
|00001d50| 20 20 20 20 20 20 20 43 | 4d 50 20 20 20 20 20 52 | C|MP R|
|00001d60| 32 2c 23 26 36 33 20 3b | 20 57 61 73 20 69 74 20 |2,#&63 ;| Was it |
|00001d70| 44 6f 77 6e 20 41 72 72 | 6f 77 20 3f 0d 06 ae 29 |Down Arr|ow ?...)|
|00001d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d90| 53 54 52 45 51 42 20 20 | 52 31 2c 64 6f 77 6e 73 |STREQB |R1,downs|
|00001da0| 74 61 74 75 73 0d 06 b8 | 23 20 20 20 20 20 20 20 |tatus...|# |
|00001db0| 20 20 20 20 20 20 20 20 | 20 42 45 51 20 20 20 20 | | BEQ |
|00001dc0| 20 6e 6f 65 76 65 6e 74 | 0d 06 c2 2b 20 20 20 20 | noevent|...+ |
|00001dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 4c 44 52 42 | | LDRB|
|00001de0| 20 20 20 20 52 33 2c 6c | 65 66 74 6d 6f 75 73 65 | R3,l|eftmouse|
|00001df0| 76 61 6c 0d 06 cc 3d 20 | 20 20 20 20 20 20 20 20 |val...= | |
|00001e00| 20 20 20 20 20 20 20 43 | 4d 50 20 20 20 20 20 52 | C|MP R|
|00001e10| 32 2c 52 33 20 3b 20 57 | 61 73 20 69 74 20 4c 65 |2,R3 ; W|as it Le|
|00001e20| 66 74 20 42 75 74 74 6f | 6e 20 46 61 6b 65 20 3f |ft Butto|n Fake ?|
|00001e30| 0d 06 d6 28 20 20 20 20 | 20 20 20 20 20 20 20 20 |...( | |
|00001e40| 20 20 20 20 53 54 52 45 | 51 42 20 20 52 31 2c 6c | STRE|QB R1,l|
|00001e50| 6d 62 73 74 61 74 75 73 | 0d 06 e0 23 20 20 20 20 |mbstatus|...# |
|00001e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 42 45 51 20 | | BEQ |
|00001e70| 20 20 20 20 6e 6f 65 76 | 65 6e 74 0d 06 ea 2a 20 | noev|ent...* |
|00001e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4c | | L|
|00001e90| 44 52 42 20 20 20 20 52 | 33 2c 6d 69 64 6d 6f 75 |DRB R|3,midmou|
|00001ea0| 73 65 76 61 6c 0d 06 f4 | 3f 20 20 20 20 20 20 20 |seval...|? |
|00001eb0| 20 20 20 20 20 20 20 20 | 20 43 4d 50 20 20 20 20 | | CMP |
|00001ec0| 20 52 32 2c 52 33 20 3b | 20 57 61 73 20 69 74 20 | R2,R3 ;| Was it |
|00001ed0| 4d 69 64 64 6c 65 20 42 | 75 74 74 6f 6e 20 46 61 |Middle B|utton Fa|
|00001ee0| 6b 65 20 3f 0d 06 fe 28 | 20 20 20 20 20 20 20 20 |ke ?...(| |
|00001ef0| 20 20 20 20 20 20 20 20 | 53 54 52 45 51 42 20 20 | |STREQB |
|00001f00| 52 31 2c 6d 6d 62 73 74 | 61 74 75 73 0d 07 08 23 |R1,mmbst|atus...#|
|00001f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f20| 42 45 51 20 20 20 20 20 | 6e 6f 65 76 65 6e 74 0d |BEQ |noevent.|
|00001f30| 07 12 2c 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.., | |
|00001f40| 20 20 20 4c 44 52 42 20 | 20 20 20 52 33 2c 72 69 | LDRB | R3,ri|
|00001f50| 67 68 74 6d 6f 75 73 65 | 76 61 6c 0d 07 1c 3e 20 |ghtmouse|val...> |
|00001f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 43 | | C|
|00001f70| 4d 50 20 20 20 20 20 52 | 32 2c 52 33 20 3b 20 57 |MP R|2,R3 ; W|
|00001f80| 61 73 20 69 74 20 52 69 | 67 68 74 20 42 75 74 74 |as it Ri|ght Butt|
|00001f90| 6f 6e 20 46 61 6b 65 20 | 3f 0d 07 26 28 20 20 20 |on Fake |?..&( |
|00001fa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 53 54 52 | | STR|
|00001fb0| 45 51 42 20 20 52 31 2c | 72 6d 62 73 74 61 74 75 |EQB R1,|rmbstatu|
|00001fc0| 73 0d 07 30 23 20 20 20 | 20 20 20 20 20 20 20 20 |s..0# | |
|00001fd0| 20 20 20 20 20 42 20 20 | 20 20 20 20 20 6e 6f 65 | B | noe|
|00001fe0| 76 65 6e 74 0d 07 3a 3d | 2e 6e 6f 74 6b 65 79 75 |vent..:=|.notkeyu|
|00001ff0| 70 64 6f 77 6e 20 20 20 | 43 4d 50 20 20 20 20 20 |pdown |CMP |
|00002000| 52 30 2c 23 34 20 20 20 | 3b 20 57 61 73 20 69 74 |R0,#4 |; Was it|
|00002010| 20 73 63 72 65 65 6e 20 | 72 65 66 72 65 73 68 20 | screen |refresh |
|00002020| 3f 0d 07 44 23 20 20 20 | 20 20 20 20 20 20 20 20 |?..D# | |
|00002030| 20 20 20 20 20 42 4e 45 | 20 20 20 20 20 6e 6f 65 | BNE| noe|
|00002040| 76 65 6e 74 0d 07 4e 42 | 20 20 20 20 20 20 20 20 |vent..NB| |
|00002050| 20 20 20 20 20 20 20 20 | 4c 44 52 42 20 20 20 20 | |LDRB |
|00002060| 52 30 2c 61 6c 74 6b 65 | 79 73 74 61 74 75 73 20 |R0,altke|ystatus |
|00002070| 3b 20 41 6c 74 20 6b 65 | 79 20 6d 75 73 74 20 62 |; Alt ke|y must b|
|00002080| 65 20 64 6f 77 6e 0d 07 | 58 21 20 20 20 20 20 20 |e down..|X! |
|00002090| 20 20 20 20 20 20 20 20 | 20 20 4d 4f 56 53 20 20 | | MOVS |
|000020a0| 20 20 52 30 2c 52 30 0d | 07 62 23 20 20 20 20 20 | R0,R0.|.b# |
|000020b0| 20 20 20 20 20 20 20 20 | 20 20 20 42 45 51 20 20 | | BEQ |
|000020c0| 20 20 20 6e 6f 65 76 65 | 6e 74 0d 07 6c 29 20 20 | noeve|nt..l) |
|000020d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4c 44 | | LD|
|000020e0| 52 42 20 20 20 20 52 32 | 2c 6d 6f 75 73 65 73 70 |RB R2|,mousesp|
|000020f0| 65 65 64 0d 07 76 29 20 | 20 20 20 20 20 20 20 20 |eed..v) | |
|00002100| 20 20 20 20 20 20 20 4c | 44 52 42 20 20 20 20 52 | L|DRB R|
|00002110| 30 2c 6c 65 66 74 73 74 | 61 74 75 73 0d 07 80 2a |0,leftst|atus...*|
|00002120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002130| 4c 44 52 42 20 20 20 20 | 52 31 2c 72 69 67 68 74 |LDRB |R1,right|
|00002140| 73 74 61 74 75 73 0d 07 | 8a 24 20 20 20 20 20 20 |status..|.$ |
|00002150| 20 20 20 20 20 20 20 20 | 20 20 53 55 42 20 20 20 | | SUB |
|00002160| 20 20 52 31 2c 52 31 2c | 52 30 0d 07 94 3b 20 20 | R1,R1,|R0...; |
|00002170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4d 55 | | MU|
|00002180| 4c 20 20 20 20 20 52 34 | 2c 52 31 2c 52 32 20 20 |L R4|,R1,R2 |
|00002190| 20 20 20 20 20 20 3b 20 | 46 69 6e 64 20 58 20 63 | ; |Find X c|
|000021a0| 68 61 6e 67 65 0d 07 9e | 27 20 20 20 20 20 20 20 |hange...|' |
|000021b0| 20 20 20 20 20 20 20 20 | 20 4c 44 52 42 20 20 20 | | LDRB |
|000021c0| 20 52 30 2c 75 70 73 74 | 61 74 75 73 0d 07 a8 29 | R0,upst|atus...)|
|000021d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021e0| 4c 44 52 42 20 20 20 20 | 52 31 2c 64 6f 77 6e 73 |LDRB |R1,downs|
|000021f0| 74 61 74 75 73 0d 07 b2 | 24 20 20 20 20 20 20 20 |tatus...|$ |
|00002200| 20 20 20 20 20 20 20 20 | 20 53 55 42 20 20 20 20 | | SUB |
|00002210| 20 52 30 2c 52 30 2c 52 | 31 0d 07 bc 3b 20 20 20 | R0,R0,R|1...; |
|00002220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4d 55 4c | | MUL|
|00002230| 53 20 20 20 20 52 35 2c | 52 30 2c 52 32 20 20 20 |S R5,|R0,R2 |
|00002240| 20 20 20 20 20 3b 20 46 | 69 6e 64 20 59 20 63 68 | ; F|ind Y ch|
|00002250| 61 6e 67 65 0d 07 c6 46 | 20 20 20 20 20 20 20 20 |ange...F| |
|00002260| 20 20 20 20 20 20 20 20 | ec 51 53 20 20 52 34 2c | |.QS R4,|
|00002270| 52 34 20 20 20 20 20 20 | 20 20 20 20 20 3b 20 49 |R4 | ; I|
|00002280| 66 20 62 6f 74 68 20 7a | 65 72 6f 2c 20 6e 6f 20 |f both z|ero, no |
|00002290| 6d 6f 75 73 65 20 6d 6f | 76 65 0d 07 d0 23 20 20 |mouse mo|ve...# |
|000022a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 42 45 | | BE|
|000022b0| 51 20 20 20 20 20 6e 6f | 65 76 65 6e 74 0d 07 da |Q no|event...|
|000022c0| 27 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |' | |
|000022d0| 20 a4 73 77 69 20 20 20 | 28 22 4f 53 5f 4d 6f 75 | .swi |("OS_Mou|
|000022e0| 73 65 22 29 0d 07 e4 24 | 20 20 20 20 20 20 20 20 |se")...$| |
|000022f0| 20 20 20 20 20 20 20 20 | 41 44 44 20 20 20 20 20 | |ADD |
|00002300| 52 30 2c 52 30 2c 52 34 | 0d 07 ee 24 20 20 20 20 |R0,R0,R4|...$ |
|00002310| 20 20 20 20 20 20 20 20 | 20 20 20 20 41 44 44 20 | | ADD |
|00002320| 20 20 20 20 52 32 2c 52 | 31 2c 52 35 0d 07 f8 2a | R2,R|1,R5...*|
|00002330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002340| 41 44 52 20 20 20 20 20 | 52 31 2c 6f 73 77 6f 72 |ADR |R1,oswor|
|00002350| 64 62 6c 6f 63 6b 0d 08 | 02 48 20 20 20 20 20 20 |dblock..|.H |
|00002360| 20 20 20 20 20 20 20 20 | 20 20 53 54 52 42 20 20 | | STRB |
|00002370| 20 20 52 30 2c 5b 52 31 | 2c 23 31 5d 20 20 20 20 | R0,[R1|,#1] |
|00002380| 20 20 3b 20 53 74 6f 72 | 65 20 6e 65 77 20 6d 6f | ; Stor|e new mo|
|00002390| 75 73 65 20 58 20 69 6e | 20 62 6c 6f 63 6b 0d 08 |use X in| block..|
|000023a0| 0c 28 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.( | |
|000023b0| 20 20 4d 4f 56 20 20 20 | 20 20 52 30 2c 52 30 2c | MOV | R0,R0,|
|000023c0| 4c 53 52 20 23 38 0d 08 | 16 26 20 20 20 20 20 20 |LSR #8..|.& |
|000023d0| 20 20 20 20 20 20 20 20 | 20 20 53 54 52 42 20 20 | | STRB |
|000023e0| 20 20 52 30 2c 5b 52 31 | 2c 23 32 5d 0d 08 20 48 | R0,[R1|,#2].. H|
|000023f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002400| 53 54 52 42 20 20 20 20 | 52 32 2c 5b 52 31 2c 23 |STRB |R2,[R1,#|
|00002410| 33 5d 20 20 20 20 20 20 | 3b 20 53 74 6f 72 65 20 |3] |; Store |
|00002420| 6e 65 77 20 6d 6f 75 73 | 65 20 59 20 69 6e 20 62 |new mous|e Y in b|
|00002430| 6c 6f 63 6b 0d 08 2a 28 | 20 20 20 20 20 20 20 20 |lock..*(| |
|00002440| 20 20 20 20 20 20 20 20 | 4d 4f 56 20 20 20 20 20 | |MOV |
|00002450| 52 32 2c 52 32 2c 4c 53 | 52 20 23 38 0d 08 34 26 |R2,R2,LS|R #8..4&|
|00002460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002470| 53 54 52 42 20 20 20 20 | 52 32 2c 5b 52 31 2c 23 |STRB |R2,[R1,#|
|00002480| 34 5d 0d 08 3e 22 20 20 | 20 20 20 20 20 20 20 20 |4]..>" | |
|00002490| 20 20 20 20 20 20 4d 4f | 56 20 20 20 20 20 52 30 | MO|V R0|
|000024a0| 2c 23 32 31 0d 08 48 3f | 20 20 20 20 20 20 20 20 |,#21..H?| |
|000024b0| 20 20 20 20 20 20 20 20 | a4 73 77 69 20 20 20 28 | |.swi (|
|000024c0| 22 4f 53 5f 57 6f 72 64 | 22 29 20 20 20 20 20 3b |"OS_Word|") ;|
|000024d0| 20 53 65 74 20 6d 6f 75 | 73 65 20 70 6f 73 69 74 | Set mou|se posit|
|000024e0| 69 6f 6e 0d 08 52 2b 2e | 6e 6f 65 76 65 6e 74 20 |ion..R+.|noevent |
|000024f0| 20 20 20 20 20 20 20 4c | 44 4d 46 44 20 20 20 52 | L|DMFD R|
|00002500| 31 33 21 2c 7b 52 30 2d | 52 35 2c 50 43 7d 0d 08 |13!,{R0-|R5,PC}..|
|00002510| 5c 28 2e 6f 73 77 6f 72 | 64 62 6c 6f 63 6b 20 20 |\(.oswor|dblock |
|00002520| 20 20 45 51 55 53 20 20 | 20 20 bd 28 33 29 2b c4 | EQUS | .(3)+.|
|00002530| 37 2c 62 6c 24 29 0d 08 | 66 04 0d 08 70 0e 2e 6d |7,bl$)..|f...p..m|
|00002540| 6f 75 73 65 74 72 61 70 | 0d 08 7a 27 3b 20 4f 6e |ousetrap|..z'; On|
|00002550| 20 65 6e 74 72 79 2c 20 | 20 20 20 20 52 30 2c 52 | entry, | R0,R|
|00002560| 31 20 20 20 3d 20 4d 6f | 75 73 65 20 58 2c 59 0d |1 = Mo|use X,Y.|
|00002570| 08 84 2b 3b 20 20 20 20 | 20 20 20 20 20 20 20 20 |..+; | |
|00002580| 20 20 20 52 32 20 20 20 | 20 20 20 3d 20 4d 6f 75 | R2 | = Mou|
|00002590| 73 65 20 62 75 74 74 6f | 6e 73 0d 08 8e 28 3b 20 |se butto|ns...(; |
|000025a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 52 33 | | R3|
|000025b0| 20 20 20 20 20 20 3d 20 | 54 69 6d 65 20 73 74 61 | = |Time sta|
|000025c0| 6d 70 0d 08 98 4d 3b 20 | 4f 6e 20 65 78 69 74 2c |mp...M; |On exit,|
|000025d0| 20 20 20 20 20 20 52 32 | 20 20 20 20 20 20 3d 20 | R2| = |
|000025e0| 50 6f 73 73 69 62 6c 79 | 20 66 61 6b 65 64 20 28 |Possibly| faked (|
|000025f0| 64 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 41 6c 74 |dependin|g on Alt|
|00002600| 29 20 6d 6f 75 73 65 20 | 62 75 74 74 6f 6e 73 0d |) mouse |buttons.|
|00002610| 08 a2 49 3b 20 4f 4b 2c | 20 49 20 61 64 6d 69 74 |..I; OK,| I admit|
|00002620| 20 69 74 2c 20 74 68 69 | 73 20 77 61 73 20 63 6f | it, thi|s was co|
|00002630| 70 69 65 64 20 76 65 72 | 62 61 74 69 6d 20 66 72 |pied ver|batim fr|
|00002640| 6f 6d 20 50 61 67 65 20 | 38 32 2f 38 33 20 6f 66 |om Page |82/83 of|
|00002650| 20 74 68 65 20 6e 65 77 | 0d 08 ac 0d 3b 20 50 52 | the new|....; PR|
|00002660| 4d 73 2e 2e 2e 0d 08 b6 | 31 20 20 20 20 20 20 20 |Ms......|1 |
|00002670| 20 20 20 20 20 20 20 20 | 20 53 54 4d 46 44 20 20 | | STMFD |
|00002680| 20 52 31 33 21 2c 7b 52 | 33 2c 52 31 30 2d 52 31 | R13!,{R|3,R10-R1|
|00002690| 32 2c 52 31 34 7d 0d 08 | c0 25 20 20 20 20 20 20 |2,R14}..|.% |
|000026a0| 20 20 20 20 20 20 20 20 | 20 20 53 54 4d 46 44 20 | | STMFD |
|000026b0| 20 20 52 31 33 21 2c 7b | 50 43 7d 0d 08 ca 26 20 | R13!,{|PC}...& |
|000026c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 41 | | A|
|000026d0| 44 44 20 20 20 20 20 52 | 31 32 2c 52 31 33 2c 23 |DD R|12,R13,#|
|000026e0| 38 0d 08 d4 2c 20 20 20 | 20 20 20 20 20 20 20 20 |8..., | |
|000026f0| 20 20 20 20 20 4c 44 4d | 49 41 20 20 20 52 31 32 | LDM|IA R12|
|00002700| 2c 7b 52 31 30 2d 52 31 | 32 2c 50 43 7d 0d 08 de |,{R10-R1|2,PC}...|
|00002710| 29 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |) | |
|00002720| 20 4c 44 52 20 20 20 20 | 20 52 31 32 2c 5b 52 31 | LDR | R12,[R1|
|00002730| 33 2c 23 31 32 5d 0d 08 | e8 25 20 20 20 20 20 20 |3,#12]..|.% |
|00002740| 20 20 20 20 20 20 20 20 | 20 20 53 54 4d 46 44 20 | | STMFD |
|00002750| 20 20 52 31 33 21 2c 7b | 52 33 7d 0d 08 f2 3f 20 | R13!,{|R3}...? |
|00002760| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4c | | L|
|00002770| 44 52 42 20 20 20 20 52 | 33 2c 61 6c 74 6b 65 79 |DRB R|3,altkey|
|00002780| 73 74 61 74 75 73 20 3b | 20 49 73 20 41 6c 74 20 |status ;| Is Alt |
|00002790| 6b 65 79 20 64 6f 77 6e | 20 3f 0d 08 fc 21 20 20 |key down| ?...! |
|000027a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4d 4f | | MO|
|000027b0| 56 53 20 20 20 20 52 33 | 2c 52 33 0d 09 06 27 20 |VS R3|,R3...' |
|000027c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 42 | | B|
|000027d0| 45 51 20 20 20 20 20 6e | 6f 72 6d 61 6c 6d 6f 75 |EQ n|ormalmou|
|000027e0| 73 65 0d 09 10 4a 20 20 | 20 20 20 20 20 20 20 20 |se...J | |
|000027f0| 20 20 20 20 20 20 4c 44 | 52 42 20 20 20 20 52 33 | LD|RB R3|
|00002800| 2c 72 6d 62 73 74 61 74 | 75 73 20 20 20 20 3b 20 |,rmbstat|us ; |
|00002810| 59 65 73 2c 20 73 6f 20 | 27 66 61 6b 65 27 20 6d |Yes, so |'fake' m|
|00002820| 6f 75 73 65 20 62 75 74 | 74 6f 6e 73 0d 09 1a 23 |ouse but|tons...#|
|00002830| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002840| 84 52 20 20 20 20 20 52 | 32 2c 52 32 2c 52 33 0d |.R R|2,R2,R3.|
|00002850| 09 24 28 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.$( | |
|00002860| 20 20 20 4c 44 52 42 20 | 20 20 20 52 33 2c 6d 6d | LDRB | R3,mm|
|00002870| 62 73 74 61 74 75 73 0d | 09 2e 2a 20 20 20 20 20 |bstatus.|..* |
|00002880| 20 20 20 20 20 20 20 20 | 20 20 20 84 52 20 20 20 | | .R |
|00002890| 20 20 52 32 2c 52 32 2c | 52 33 2c 41 53 4c 20 23 | R2,R2,|R3,ASL #|
|000028a0| 31 0d 09 38 28 20 20 20 | 20 20 20 20 20 20 20 20 |1..8( | |
|000028b0| 20 20 20 20 20 4c 44 52 | 42 20 20 20 20 52 33 2c | LDR|B R3,|
|000028c0| 6c 6d 62 73 74 61 74 75 | 73 0d 09 42 2a 20 20 20 |lmbstatu|s..B* |
|000028d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 84 52 20 | | .R |
|000028e0| 20 20 20 20 52 32 2c 52 | 32 2c 52 33 2c 41 53 4c | R2,R|2,R3,ASL|
|000028f0| 20 23 32 0d 09 4c 25 2e | 6e 6f 72 6d 61 6c 6d 6f | #2..L%.|normalmo|
|00002900| 75 73 65 20 20 20 20 4c | 44 4d 46 44 20 20 20 52 |use L|DMFD R|
|00002910| 31 33 21 2c 7b 52 33 7d | 0d 09 56 34 20 20 20 20 |13!,{R3}|..V4 |
|00002920| 20 20 20 20 20 20 20 20 | 20 20 20 20 4c 44 4d 46 | | LDMF|
|00002930| 44 20 20 20 52 31 33 21 | 2c 7b 52 33 2c 52 31 30 |D R13!|,{R3,R10|
|00002940| 2d 52 31 32 2c 52 31 34 | 2c 50 43 7d 0d 09 60 04 |-R12,R14|,PC}..`.|
|00002950| 0d 09 6a 0f 2e 69 6e 73 | 65 72 74 74 72 61 70 0d |..j..ins|erttrap.|
|00002960| 09 74 31 3b 20 4f 6e 20 | 65 6e 74 72 79 2c 20 20 |.t1; On |entry, |
|00002970| 20 20 20 52 30 20 20 20 | 20 20 20 3d 20 42 79 74 | R0 | = Byt|
|00002980| 65 20 74 6f 20 62 65 20 | 69 6e 73 65 72 74 65 64 |e to be |inserted|
|00002990| 0d 09 7e 2b 3b 20 20 20 | 20 20 20 20 20 20 20 20 |..~+; | |
|000029a0| 20 20 20 20 52 31 20 20 | 20 20 20 20 3d 20 42 75 | R1 | = Bu|
|000029b0| 66 66 65 72 20 6e 75 6d | 62 65 72 0d 09 88 49 3b |ffer num|ber...I;|
|000029c0| 20 4e 6f 74 65 20 2d 20 | 63 75 72 73 6f 72 20 6b | Note - |cursor k|
|000029d0| 65 79 73 20 61 72 65 20 | 31 34 30 2d 31 34 33 20 |eys are |140-143 |
|000029e0| 64 65 63 69 6d 61 6c 20 | 77 68 65 6e 20 65 6e 74 |decimal |when ent|
|000029f0| 65 72 69 6e 67 20 74 68 | 69 73 20 72 6f 75 74 69 |ering th|is routi|
|00002a00| 6e 65 20 21 0d 09 92 2c | 20 20 20 20 20 20 20 20 |ne !...,| |
|00002a10| 20 20 20 20 20 20 20 20 | 53 54 4d 46 44 20 20 20 | |STMFD |
|00002a20| 52 31 33 21 2c 7b 52 30 | 2d 52 33 2c 52 31 34 7d |R13!,{R0|-R3,R14}|
|00002a30| 0d 09 9c 49 20 20 20 20 | 20 20 20 20 20 20 20 20 |...I | |
|00002a40| 20 20 20 20 4d 4f 56 53 | 20 20 20 20 52 31 2c 52 | MOVS| R1,R|
|00002a50| 31 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 49 73 |1 | ; Is|
|00002a60| 20 69 74 20 74 68 65 20 | 6b 65 79 62 6f 61 72 64 | it the |keyboard|
|00002a70| 20 62 75 66 66 65 72 20 | 3f 0d 09 a6 26 20 20 20 | buffer |?...& |
|00002a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 42 4e 45 | | BNE|
|00002a90| 20 20 20 20 20 6e 6f 74 | 6b 65 79 62 75 66 66 0d | not|keybuff.|
|00002aa0| 09 b0 3c 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..< | |
|00002ab0| 20 20 20 4c 44 52 42 20 | 20 20 20 52 31 2c 61 6c | LDRB | R1,al|
|00002ac0| 74 6b 65 79 73 74 61 74 | 75 73 20 3b 20 41 6c 74 |tkeystat|us ; Alt|
|00002ad0| 20 6b 65 79 20 64 6f 77 | 6e 20 3f 0d 09 ba 21 20 | key dow|n ?...! |
|00002ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4d | | M|
|00002af0| 4f 56 53 20 20 20 20 52 | 31 2c 52 31 0d 09 c4 26 |OVS R|1,R1...&|
|00002b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b10| 42 45 51 20 20 20 20 20 | 6e 6f 74 6b 65 79 62 75 |BEQ |notkeybu|
|00002b20| 66 66 0d 09 ce 41 20 20 | 20 20 20 20 20 20 20 20 |ff...A | |
|00002b30| 20 20 20 20 20 20 43 4d | 50 20 20 20 20 20 52 30 | CM|P R0|
|00002b40| 2c 23 31 34 33 20 3b 20 | 49 73 20 69 74 20 69 6e |,#143 ; |Is it in|
|00002b50| 20 63 75 72 73 6f 72 20 | 6b 65 79 20 72 61 6e 67 | cursor |key rang|
|00002b60| 65 20 3f 0d 09 d8 26 20 | 20 20 20 20 20 20 20 20 |e ?...& | |
|00002b70| 20 20 20 20 20 20 20 42 | 47 54 20 20 20 20 20 6e | B|GT n|
|00002b80| 6f 74 6b 65 79 62 75 66 | 66 0d 09 e2 3d 20 20 20 |otkeybuf|f...= |
|00002b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 43 4d 50 | | CMP|
|00002ba0| 20 20 20 20 20 52 30 2c | 23 31 34 30 20 3b 20 59 | R0,|#140 ; Y|
|00002bb0| 65 73 2c 20 73 6f 20 63 | 6c 61 69 6d 20 74 68 69 |es, so c|laim thi|
|00002bc0| 73 20 63 61 6c 6c 0d 09 | ec 2f 20 20 20 20 20 20 |s call..|./ |
|00002bd0| 20 20 20 20 20 20 20 20 | 20 20 4c 44 4d 47 45 46 | | LDMGEF|
|00002be0| 44 20 52 31 33 21 2c 7b | 52 30 2d 52 33 2c 52 31 |D R13!,{|R0-R3,R1|
|00002bf0| 34 2c 50 43 7d 0d 09 f6 | 2b 2e 6e 6f 74 6b 65 79 |4,PC}...|+.notkey|
|00002c00| 62 75 66 66 20 20 20 20 | 20 4c 44 4d 46 44 20 20 |buff | LDMFD |
|00002c10| 20 52 31 33 21 2c 7b 52 | 30 2d 52 33 2c 50 43 7d | R13!,{R|0-R3,PC}|
|00002c20| 0d 0a 00 04 0d 0a 0a 2c | 2e 62 79 65 62 79 65 20 |.......,|.byebye |
|00002c30| 20 20 20 20 20 20 20 20 | 53 54 4d 46 44 20 20 20 | |STMFD |
|00002c40| 52 31 33 21 2c 7b 52 30 | 2d 52 32 2c 52 31 34 7d |R13!,{R0|-R2,R14}|
|00002c50| 0d 0a 14 44 20 20 20 20 | 20 20 20 20 20 20 20 20 |...D | |
|00002c60| 20 20 20 20 4d 4f 56 20 | 20 20 20 20 52 30 2c 23 | MOV | R0,#|
|00002c70| 31 33 20 20 20 20 20 20 | 20 20 20 20 3b 20 44 69 |13 | ; Di|
|00002c80| 73 61 62 6c 65 20 63 6c | 61 69 6d 65 64 20 65 76 |sable cl|aimed ev|
|00002c90| 65 6e 74 73 0d 0a 1e 26 | 20 20 20 20 20 20 20 20 |ents...&| |
|00002ca0| 20 20 20 20 20 20 20 20 | 42 4c 20 20 20 20 20 20 | |BL |
|00002cb0| 74 72 61 70 65 76 65 6e | 74 73 0d 0a 28 26 20 20 |trapeven|ts..(& |
|00002cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4d 4f | | MO|
|00002cd0| 56 20 20 20 20 20 52 30 | 2c 23 45 76 65 6e 74 56 |V R0|,#EventV|
|00002ce0| 0d 0a 32 28 20 20 20 20 | 20 20 20 20 20 20 20 20 |..2( | |
|00002cf0| 20 20 20 20 41 44 52 20 | 20 20 20 20 52 31 2c 65 | ADR | R1,e|
|00002d00| 76 65 6e 74 74 72 61 70 | 0d 0a 3c 21 20 20 20 20 |venttrap|..<! |
|00002d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 4d 4f 56 20 | | MOV |
|00002d20| 20 20 20 20 52 32 2c 23 | 30 0d 0a 46 29 20 20 20 | R2,#|0..F) |
|00002d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 53 57 49 | | SWI|
|00002d40| 20 20 20 20 20 22 58 4f | 53 5f 52 65 6c 65 61 73 | "XO|S_Releas|
|00002d50| 65 22 0d 0a 50 24 20 20 | 20 20 20 20 20 20 20 20 |e"..P$ | |
|00002d60| 20 20 20 20 20 20 4d 4f | 56 20 20 20 20 20 52 30 | MO|V R0|
|00002d70| 2c 23 49 6e 73 56 0d 0a | 5a 29 20 20 20 20 20 20 |,#InsV..|Z) |
|00002d80| 20 20 20 20 20 20 20 20 | 20 20 41 44 52 20 20 20 | | ADR |
|00002d90| 20 20 52 31 2c 69 6e 73 | 65 72 74 74 72 61 70 0d | R1,ins|erttrap.|
|00002da0| 0a 64 21 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.d! | |
|00002db0| 20 20 20 4d 4f 56 20 20 | 20 20 20 52 32 2c 23 30 | MOV | R2,#0|
|00002dc0| 0d 0a 6e 29 20 20 20 20 | 20 20 20 20 20 20 20 20 |..n) | |
|00002dd0| 20 20 20 20 53 57 49 20 | 20 20 20 20 22 58 4f 53 | SWI | "XOS|
|00002de0| 5f 52 65 6c 65 61 73 65 | 22 0d 0a 78 26 20 20 20 |_Release|"..x& |
|00002df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4d 4f 56 | | MOV|
|00002e00| 20 20 20 20 20 52 30 2c | 23 4d 6f 75 73 65 56 0d | R0,|#MouseV.|
|00002e10| 0a 82 28 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..( | |
|00002e20| 20 20 20 41 44 52 20 20 | 20 20 20 52 31 2c 6d 6f | ADR | R1,mo|
|00002e30| 75 73 65 74 72 61 70 0d | 0a 8c 21 20 20 20 20 20 |usetrap.|..! |
|00002e40| 20 20 20 20 20 20 20 20 | 20 20 20 4d 4f 56 20 20 | | MOV |
|00002e50| 20 20 20 52 32 2c 23 30 | 0d 0a 96 29 20 20 20 20 | R2,#0|...) |
|00002e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 53 57 49 20 | | SWI |
|00002e70| 20 20 20 20 22 58 4f 53 | 5f 52 65 6c 65 61 73 65 | "XOS|_Release|
|00002e80| 22 0d 0a a0 2b 20 20 20 | 20 20 20 20 20 20 20 20 |"...+ | |
|00002e90| 20 20 20 20 20 4c 44 4d | 46 44 20 20 20 52 31 33 | LDM|FD R13|
|00002ea0| 21 2c 7b 52 30 2d 52 32 | 2c 50 43 7d 0d 0a aa 04 |!,{R0-R2|,PC}....|
|00002eb0| 0d 0a b4 0c 2e 4f 53 5f | 43 61 6c 6c 0d 0a be 2d |.....OS_|Call...-|
|00002ec0| 3b 20 4f 6e 20 65 6e 74 | 72 79 2c 20 20 20 20 20 |; On ent|ry, |
|00002ed0| 52 30 2d 52 32 20 20 20 | 3d 20 53 57 49 20 63 61 |R0-R2 |= SWI ca|
|00002ee0| 6c 6c 20 70 61 72 61 6d | 73 0d 0a c8 35 3b 20 20 |ll param|s...5; |
|00002ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 52 33 20 | | R3 |
|00002f00| 20 20 20 20 20 3d 20 53 | 57 49 20 4e 75 6d 62 65 | = S|WI Numbe|
|00002f10| 72 20 28 6e 6f 74 20 58 | 20 66 6f 72 6d 29 0d 0a |r (not X| form)..|
|00002f20| d2 2c 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |., | |
|00002f30| 20 20 53 54 4d 46 44 20 | 20 20 52 31 33 21 2c 7b | STMFD | R13!,{|
|00002f40| 52 34 2c 52 35 2c 52 31 | 34 7d 0d 0a dc 27 20 20 |R4,R5,R1|4}...' |
|00002f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4c 44 | | LD|
|00002f60| 52 20 20 20 20 20 52 35 | 2c 53 57 49 49 6e 73 74 |R R5|,SWIInst|
|00002f70| 72 0d 0a e6 26 20 20 20 | 20 20 20 20 20 20 20 20 |r...& | |
|00002f80| 20 20 20 20 20 42 49 43 | 20 20 20 20 20 52 35 2c | BIC| R5,|
|00002f90| 52 35 2c 23 26 46 46 0d | 0a f0 23 20 20 20 20 20 |R5,#&FF.|..# |
|00002fa0| 20 20 20 20 20 20 20 20 | 20 20 20 84 52 20 20 20 | | .R |
|00002fb0| 20 20 52 35 2c 52 35 2c | 52 33 0d 0a fa 4d 20 20 | R5,R5,|R3...M |
|00002fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 53 54 | | ST|
|00002fd0| 52 20 20 20 20 20 52 35 | 2c 53 57 49 49 6e 73 74 |R R5|,SWIInst|
|00002fe0| 72 20 20 20 20 20 3b 20 | 4e 61 75 67 68 74 79 20 |r ; |Naughty |
|00002ff0| 21 20 53 65 6c 66 2d 6d | 6f 64 69 66 79 69 6e 67 |! Self-m|odifying|
|00003000| 20 63 6f 64 65 20 21 0d | 0b 04 21 20 20 20 20 20 | code !.|..! |
|00003010| 20 20 20 20 20 20 20 20 | 20 20 20 4d 4f 56 20 20 | | MOV |
|00003020| 20 20 20 52 34 2c 50 43 | 0d 0b 0e 2a 20 20 20 20 | R4,PC|...* |
|00003030| 20 20 20 20 20 20 20 20 | 20 20 20 20 84 52 20 20 | | .R |
|00003040| 20 20 20 52 35 2c 52 34 | 2c 23 53 56 43 5f 4d 6f | R5,R4|,#SVC_Mo|
|00003050| 64 65 0d 0b 18 21 20 20 | 20 20 20 20 20 20 20 20 |de...! | |
|00003060| 20 20 20 20 20 20 54 45 | 51 50 20 20 20 20 52 35 | TE|QP R5|
|00003070| 2c 23 30 0d 0b 22 21 20 | 20 20 20 20 20 20 20 20 |,#0.."! | |
|00003080| 20 20 20 20 20 20 20 4d | 4f 56 4e 56 20 20 20 52 | M|OVNV R|
|00003090| 30 2c 52 30 0d 0b 2c 26 | 20 20 20 20 20 20 20 20 |0,R0..,&| |
|000030a0| 20 20 20 20 20 20 20 20 | 53 54 4d 46 44 20 20 20 | |STMFD |
|000030b0| 52 31 33 21 2c 7b 52 31 | 34 7d 0d 0b 36 28 2e 53 |R13!,{R1|4}..6(.S|
|000030c0| 57 49 49 6e 73 74 72 20 | 20 20 20 20 20 20 53 57 |WIInstr | SW|
|000030d0| 49 20 20 20 20 20 22 58 | 4f 53 5f 57 72 69 74 65 |I "X|OS_Write|
|000030e0| 43 22 0d 0b 40 26 20 20 | 20 20 20 20 20 20 20 20 |C"..@& | |
|000030f0| 20 20 20 20 20 20 4c 44 | 4d 46 44 20 20 20 52 31 | LD|MFD R1|
|00003100| 33 21 2c 7b 52 31 34 7d | 0d 0b 4a 21 20 20 20 20 |3!,{R14}|..J! |
|00003110| 20 20 20 20 20 20 20 20 | 20 20 20 20 54 45 51 50 | | TEQP|
|00003120| 20 20 20 20 52 34 2c 23 | 30 0d 0b 54 21 20 20 20 | R4,#|0..T! |
|00003130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 4d 4f 56 | | MOV|
|00003140| 4e 56 20 20 20 52 30 2c | 52 30 0d 0b 5e 2b 20 20 |NV R0,|R0..^+ |
|00003150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4c 44 | | LD|
|00003160| 4d 46 44 20 20 20 52 31 | 33 21 2c 7b 52 34 2c 52 |MFD R1|3!,{R4,R|
|00003170| 35 2c 50 43 7d 0d 0b 68 | 04 0d 0b 72 1d 2e 61 6c |5,PC}..h|...r..al|
|00003180| 74 6b 65 79 73 74 61 74 | 75 73 20 20 20 45 51 55 |tkeystat|us EQU|
|00003190| 42 20 20 20 20 30 0d 0b | 7c 1d 2e 6c 65 66 74 73 |B 0..||..lefts|
|000031a0| 74 61 74 75 73 20 20 20 | 20 20 45 51 55 42 20 20 |tatus | EQUB |
|000031b0| 20 20 30 0d 0b 86 1d 2e | 72 69 67 68 74 73 74 61 | 0.....|rightsta|
|000031c0| 74 75 73 20 20 20 20 45 | 51 55 42 20 20 20 20 30 |tus E|QUB 0|
|000031d0| 0d 0b 90 1d 2e 75 70 73 | 74 61 74 75 73 20 20 20 |.....ups|tatus |
|000031e0| 20 20 20 20 45 51 55 42 | 20 20 20 20 30 0d 0b 9a | EQUB| 0...|
|000031f0| 1d 2e 64 6f 77 6e 73 74 | 61 74 75 73 20 20 20 20 |..downst|atus |
|00003200| 20 45 51 55 42 20 20 20 | 20 30 0d 0b a4 1d 2e 6c | EQUB | 0.....l|
|00003210| 6d 62 73 74 61 74 75 73 | 20 20 20 20 20 20 45 51 |mbstatus| EQ|
|00003220| 55 42 20 20 20 20 30 0d | 0b ae 1d 2e 6d 6d 62 73 |UB 0.|....mmbs|
|00003230| 74 61 74 75 73 20 20 20 | 20 20 20 45 51 55 42 20 |tatus | EQUB |
|00003240| 20 20 20 30 0d 0b b8 1d | 2e 72 6d 62 73 74 61 74 | 0....|.rmbstat|
|00003250| 75 73 20 20 20 20 20 20 | 45 51 55 42 20 20 20 20 |us |EQUB |
|00003260| 30 0d 0b c2 1d 2e 6d 6f | 75 73 65 73 70 65 65 64 |0.....mo|usespeed|
|00003270| 20 20 20 20 20 45 51 55 | 42 20 20 20 20 30 0d 0b | EQU|B 0..|
|00003280| cc 1d 2e 66 61 6b 65 31 | 76 61 6c 20 20 20 20 20 |...fake1|val |
|00003290| 20 20 45 51 55 42 20 20 | 20 20 30 0d 0b d6 1d 2e | EQUB | 0.....|
|000032a0| 66 61 6b 65 32 76 61 6c | 20 20 20 20 20 20 20 45 |fake2val| E|
|000032b0| 51 55 42 20 20 20 20 30 | 0d 0b e0 1d 2e 6c 65 66 |QUB 0|.....lef|
|000032c0| 74 6d 6f 75 73 65 76 61 | 6c 20 20 20 45 51 55 42 |tmouseva|l EQUB|
|000032d0| 20 20 20 20 30 0d 0b ea | 1d 2e 6d 69 64 6d 6f 75 | 0...|..midmou|
|000032e0| 73 65 76 61 6c 20 20 20 | 20 45 51 55 42 20 20 20 |seval | EQUB |
|000032f0| 20 30 0d 0b f4 1d 2e 72 | 69 67 68 74 6d 6f 75 73 | 0.....r|ightmous|
|00003300| 65 76 61 6c 20 20 45 51 | 55 42 20 20 20 20 30 0d |eval EQ|UB 0.|
|00003310| 0b fe 19 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |... | |
|00003320| 20 20 20 41 4c 49 47 4e | 0d 0c 08 06 5d ed 0d 0c | ALIGN|....]...|
|00003330| 12 20 46 24 3d 22 24 2e | 21 22 2b 6e 61 6d 65 24 |. F$="$.|!"+name$|
|00003340| 2b 22 2e 22 2b 6e 61 6d | 65 24 2b 22 20 22 0d 0c |+"."+nam|e$+" "..|
|00003350| 1c 1b ff 22 53 2e 22 2b | 46 24 2b c3 7e 6f 72 67 |..."S."+|F$+.~org|
|00003360| 2b 22 20 22 2b c3 7e 50 | 25 0d 0c 26 1b ff 22 53 |+" "+.~P|%..&.."S|
|00003370| 65 74 54 79 70 65 20 22 | 2b 46 24 2b 22 4d 6f 64 |etType "|+F$+"Mod|
|00003380| 75 6c 65 22 0d 0c 30 0e | 2a 50 6f 69 6e 74 65 72 |ule"..0.|*Pointer|
|00003390| 20 31 0d 0c 31 10 ff 22 | 24 2e 21 22 2b 6e 61 6d | 1..1.."|$.!"+nam|
|000033a0| 65 24 0d 0c 4e 05 e0 0d | 0c 58 04 0d 0c 80 0f dd |e$..N...|.X......|
|000033b0| a4 73 77 69 28 73 77 69 | 24 29 0d 0c 8a 21 f4 20 |.swi(swi|$)...!. |
|000033c0| 4e 65 61 74 20 6c 69 74 | 74 6c 65 20 6d 61 63 72 |Neat lit|tle macr|
|000033d0| 6f 20 6f 72 20 77 68 61 | 74 20 3f 0d 0c 94 08 ea |o or wha|t ?.....|
|000033e0| 20 42 25 0d 0c 9e 35 24 | 73 77 69 25 3d 73 77 69 | B%...5$|swi%=swi|
|000033f0| 24 3a c8 99 20 22 4f 53 | 5f 53 57 49 4e 75 6d 62 |$:.. "OS|_SWINumb|
|00003400| 65 72 46 72 6f 6d 53 74 | 72 69 6e 67 22 2c 2c 73 |erFromSt|ring",,s|
|00003410| 77 69 25 20 b8 20 42 25 | 0d 0c a8 0b 5b 4f 50 54 |wi% . B%|....[OPT|
|00003420| 20 41 25 0d 0c b2 22 20 | 20 20 20 20 20 20 20 20 | A%..." | |
|00003430| 20 20 20 20 20 20 20 4d | 4f 56 20 20 20 20 20 52 | M|OV R|
|00003440| 33 2c 23 42 25 0d 0c bc | 23 20 20 20 20 20 20 20 |3,#B%...|# |
|00003450| 20 20 20 20 20 20 20 20 | 20 42 4c 20 20 20 20 20 | | BL |
|00003460| 20 4f 53 5f 43 61 6c 6c | 0d 0c c6 08 5d 3d 41 25 | OS_Call|....]=A%|
|00003470| 0d ff | |.. | |
+--------+-------------------------+-------------------------+--------+--------+